import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/maintain_logs_request_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/maintain_logs_request_entity.g.dart';

@JsonSerializable()
class MaintainLogsRequestEntity {
	late int deviceId = 0;
	late int id = 0;
	late String maintenanceRecords = '';
	late String operators = '';
	late String operationTime = '';

	MaintainLogsRequestEntity();

	factory MaintainLogsRequestEntity.fromJson(Map<String, dynamic> json) => $MaintainLogsRequestEntityFromJson(json);

	Map<String, dynamic> toJson() => $MaintainLogsRequestEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}